package top.hjcwzx.types.design.framework.link.prototype.handler;


/**
 * {@code @author} hujincheng <br/>
 * {@code @description} 逻辑处理器 <br/>
 */
public interface ILogicHandler<T, D, R> {

    default R next(T requestParameter, D dynamicContext) {
        return null;
    }

    R apply(T requestParameter, D dynamicContext) throws Exception;

}
